package org.jetnuke.dao;

import java.util.List;

import org.jetnuke.entities.Poll;

/**
 * @author <a href="ginger547@gmail.com">ginger547</a>
 * @version 2.0
 * @since 2.0
 */
public interface PollDAO {
	Poll retrieveByPK(int id) throws Exception;

	Poll getLast() throws Exception;

	int addNew(Poll poll) throws Exception;

	void update(Poll poll) throws Exception;

	List selectAllOrderTimestamp() throws Exception;

	List selectAllNotArtIDOrderTimestampDesc() throws Exception;
}
